﻿using System.Xml;

namespace QDT.Payment.AllInPay.Api
{
    public class DetailPackage : BasePackage
    {
        protected XmlNode root;
        protected string GetText(string xpath)
        {
            XmlNode node = root.SelectSingleNode(xpath);
            if (node == null || node.NodeType != XmlNodeType.Text)
                return "";
            else
                return ((XmlText)node).Value;
        }
    }
}
